package com.yuwei.database.entity

import androidx.room.*

@Entity(tableName = "user_info_table")
@TypeConverters(CustomTypeConverters::class)
data class UserEntity(
    @PrimaryKey
    val id : Int,
    @ColumnInfo(name = "accountid")
    val accountId: String,
    @ColumnInfo(name = "ctime")
    val cTime: String,
    val headImg: String,
    val isAuthor: Int,
    val nick: String,
    val password: String,
    @ColumnInfo(name = "roleid")
    val roleId: Int,
    val username: String
)